package cn.zyx.sys.entity;

import cn.zyx.common.entity.DataEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据字典Entity
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DictValue extends DataEntity<DictValue> {
	
	private static final long serialVersionUID = 1L;

	private String label;		// 标签名
	private String value;		// 键值
	private String sort;		// 排序
	private DictType dictType;		// 外键 父类

	public DictValue() {
		super();
	}

	public DictValue(String id){
		super(id);
	}

	public DictValue(DictType dictType){
		this.dictType = dictType;
	}
	
}